package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.entity.PurchaseBill;
import com.wing.bill.entity.PurchaseBillSettle;

import java.util.List;
import java.util.Map;

/**
 * 采购账单结算
 *
 * @author xiayang
 */
public interface PurchaseBillSettleService extends IService<PurchaseBillSettle> {

    /**
     * 添加
     *
     * @param purchaseBillSettle
     * @return
     */
    int add(PurchaseBillSettle purchaseBillSettle);

    /**
     * 账单结算列表
     *
     * @param params
     * @return
     */
    List<PurchaseBillSettle> list(Map<String, Object> params);

    /**
     * 账单结算分页列表
     *
     * @param page
     * @param params
     * @return
     */
    Page<PurchaseBillSettle> pageList(Page page, Map<String, Object> params);

    /**
     * 详情
     *
     * @param id
     * @return
     */
    PurchaseBillSettle get(Long id);

}
